package com.zhixiang.xaec.entity.health;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;
@Entity
@Table(name="health_PhysicalRecord")
@Comment("体检记录")
public class PhysicalRecord extends BaseEntity{

	@Comment("体检医院")
	@Column(length=200)
	private String hospital;
	
	@Comment("体检项目")
	@Column(length=200)
	private String project;
	
	@Comment("体检结论")
	@Column(length=1000)
	private String conclusion;
	
	@Comment("体检时间")
	@Column(length=30)
	private Date examinationDate;
	
	@Comment("关联职业危害健康档案")
	private Long healthFileId;
	
	public String getHospital() {
		return hospital;
	}
	public void setHospital(String hospital) {
		this.hospital = hospital;
	}
	public String getProject() {
		return project;
	}
	public void setProject(String project) {
		this.project = project;
	}
	public String getConclusion() {
		return conclusion;
	}
	public void setConclusion(String conclusion) {
		this.conclusion = conclusion;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getExaminationDate() {
		return examinationDate;
	}
	public void setExaminationDate(Date examinationDate) {
		this.examinationDate = examinationDate;
	}
	
	public Long getHealthFileId() {
		return healthFileId;
	}
	public void setHealthFileId(Long healthFileId) {
		this.healthFileId = healthFileId;
	}
}
